const usersDao = require("../dao/usersDao");

const reg=async(data)=> await usersDao.reg(data);
const Login=async(data)=> await usersDao.Login(data);
const isUse=async(data)=>{
    const result= await usersDao.isUse(data)
    return result.length? true:false
};

module.exports = {reg,isUse,Login }
